package com.jhxy.algorithm.twosum;

public class InputForTwoNumberSum {


    public int[] nums;

    public int target = 9;

    public InputForTwoNumberSum(String numstr, String target) {
        String[] numberList = numstr.split(",");
        nums = new int[numberList.length];
        for (int i = 0; i < numberList.length; i++) {
            nums[i] = Integer.parseInt(numberList[i]);
        }

        this.target =  Integer.parseInt(target);
    }
}
